<template>
  <component :is="roleMap.get(role)" />
</template>

<script setup lang="ts">
import AccountHomePage from "@/views/system/account/index.vue";
import OperatorHomePage from "./components/OperatorHomePage/index.vue";
import ExaminerHomePage from "@/views/examiner/operation-log/index.vue";
const role = localStorage.getItem("role");
console.log("role:::",role)
const roleMap = new Map([
  ["1", AccountHomePage],
  ["2", OperatorHomePage],
  ["3", ExaminerHomePage],
]);
</script>
